package com.mcay.nacos.feignClient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * name：这个名字写提供方的服务名字
 */
@FeignClient(name = "nacos-provider")
public interface providerFeignClient {

    //路径一定要写全
    @GetMapping("/nacos/provider/hello")
    public String hello();

}
